how to test my smart contract